Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Oct 2, 2024

Follow-up to #82

This PR brings the Go client in line with the JS client behavior updated by replicate/replicate-javascript#315. Specifically, this updates the code for RunWithOptions to not poll if the WithBlockUntilDone option is passed and the prediction status isn't "starting".

Copy link

@aron aron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤩

@mattt mattt merged commit 1620ec6 into main Oct 2, 2024
3 checks passed
@mattt mattt deleted the mattt/fix-wait branch October 2, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants